package com.wz.project.barcodeMsg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 条码采集对象 barcode_msg
 * 
 * @author wld
 * @date 2023-10-16
 */
public class BarcodeMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货位编号 */
    @Excel(name = "货位编号")
    private String cargoSpaceId;

    /** 托盘编号 */
    @Excel(name = "托盘编号")
    private String trayCode;

    /** 子条码 */
    @Excel(name = "子条码")
    private String barcode;
    /** 添加时间*/
    @Excel(name = "添加时间")
    private Date createTime;

    public void setCargoSpaceId(String cargoSpaceId)
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId()
    {
        return cargoSpaceId;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cargoSpaceId", getCargoSpaceId())
            .append("trayCode", getTrayCode())
            .append("barcode", getBarcode())
            .toString();
    }
}
